package demo3;

interface IA{
    void testA();
}
interface IB{
    void testB();
}
interface IC{
    void testC();
}
//ID这个接口，扩展了IA，IB，IC功能
interface ID extends IA,IB,IC{
    void testD();
}
class CID implements ID{

    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }

    @Override
    public void testC() {

    }

    @Override
    public void testD() {

    }
}
abstract class CA implements IA,IB{
    public abstract void testCA();
}
class CC extends CA implements IC{


    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }

    @Override
    public void testC() {

    }

    @Override
    public void testCA() {

    }
}
public class TestDemo2 {
}
